home *** CD-ROM | disk | FTP | other *** search
Text File | 1992-07-15 | 3.3 KB | 87 lines | [TEXT/ttxt] |
- Change histories are boring (though necessary). We are not going to give a
- full change history from NetWork package 0.9 (the latest version with wide
- distribution) to 1.2 (the recent one). Instead, we give a short account of
- what we changed, and why.
-
- Major changes:
- - NetWork library and interfaces completeley revised.
- - Lookup utilities are provided in a new unit "NetWorkLookup"
- and removed from NetWork.p.
- - Queue management for messages has been moved from the Scheduler
- layer to the NetWork processor, all queue management utilities
- removed from the
- - Scheduler buffer management is a dynamic task
- delegated to the message handlers
-
- General:
- ========
-
- The message record data structure has changed. This affects all parts
- of the system. Some component names have been changed, you can use
- NetWork.Canon to change these. Some new components have been introduced
- that require you to change your code. Some old components have been
- removed, requiring changes as well.
-
-
- NetWork Processor:
- ==================
-
- NetWork Processor supports the use of events to signal messages that need
- processing. This allows you to remove some housekeeping that you had to
- perform previously.
-
-
- NetWork Library:
- ================
-
- Many changes. Library supports interface to events.
-
- GetIndexMsg will be removed in the next version. So far, it is still provided:
- function GetIndexedMsg; (var Msg : MsgPtr; Index : integer;
- {0=1} PrioData : Ptr;
- MaxPrioSize : longint) : OSErr;
- GetIndexedMsg returns a pointer to the message indicated by index at Msg.
- The priority information is read to the area indicated by PrioData and
- MaxPrioSize. GetIndexedMsg is defunct. Should not be used any more.
-
-
- NetWork Name Look-Up:
- =====================
-
- The name lookup functions have been moved from NetWork.p to a separate unit
- called NetWorkLookup. The default implementation is already contained in
- NetWorkLib.o. Include NetWorkLookUp in your uses-list, but do not recompile
- and link to this unit unless you are using your own lookup system.
-
- You´ll have to make provisions to call NlTask regularly.
-
- Scheduler:
- ==========
-
- Message handlers are now dynamic objects, associated to messages. Before,
- they wore associated to the scheduler. The message handlers known to the
- scheduler now only operate as default message handlers to be used at first
- sight of a message, and in error situations.
-
- The Scheduler now reclaims the MsgUserRefCon field to associate a message
- handler to a message. This field is reserved when used with the Scheduler.
-
- The message handler object has been completely rewritten. The old structure
- was suggesting a latched buffer strategy, encouraging very poor buffer
- strategies. The new structure requests that the implementor specifies the
- buffer strategies used by specifying the corresponding constructors and
- destructors. Poor strategies still can be used, but would need considerably
- more effort to hide their deficits.
-
- The Scheduler has been rewritten; queue maintenance is now provided by the
- NetWork Processor and has been removed from the Scheduler. The use of the
- new event-based structure is recommended. The previous queue maintenance by
- the scheduler still can be used, but requires some cut&paste.
-
- Examples:
- =========
-
- All examples have been modified to work with the new release.
-
-
-